package map.function;

public class Key {
    private int a;
    public Key() {}
    public Key(int a) {
        this.a = a;
    }
    public int getA() {
        return a;
    }
    public Value getDefaultV() {
        return Value.getDefaultV(this);
    }
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Key [a=");
        builder.append(a);
        builder.append("]");
        return builder.toString();
    }
    @Override
    public int hashCode() {
        return a;
    }
    @Override
    public boolean equals(Object obj) {
        return this.hashCode() == obj.hashCode();
    }
}
